
// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import common from '@/common/common.js'
// 引入IM
import TencentCloudChat  from "@tencentcloud/chat";
import TUICore from "@tencentcloud/tui-core";
import VueCompositionAPI from "@vue/composition-api";
Vue.use(VueCompositionAPI);



Vue.prototype.$common = common

Vue.config.productionTip = false
App.mpType = 'app'


Vue.prototype.imageUrl = 'https://zhiyuapp.oss-cn-fuzhou.aliyuncs.com/uniapp_android/image/world/'; 
Vue.prototype.getImageUrl = function (url) {
    return Vue.prototype.imageUrl + url;  
}
Vue.prototype.getTestImage = function () {
    return "https://zhiyuapp.oss-cn-fuzhou.aliyuncs.com/image/0017b136af624b5ca03cd30b002cc026.jpg";  
}

const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif